
SOURCES := $(wildcard *.c) $(wildcard *.cpp)

CFLAGE += -DSHM_DEBUG
# CFLAGE += -DRWLOCK

all:$(SOURCES)
	g++ -g -o test $^ -I. -lpthread $(CFLAGE) #-DRWLOCK
	# g++ -g -o test test.c VideoShare.cpp AudioShare.cpp Sharemem.cpp  MessageQueue.cpp -I. -lpthread #-DRWLOCK

	# g++ -o test test.c log.cpp
